package com.xiyu.service.vo.health.medicineStock;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.hibernate.validator.constraints.Length;
import jakarta.validation.Valid;
import com.xiyu.service.enums.common.CommonStatusEnum;
import com.xiyu.service.framework.validation.InEnum;
import java.math.BigDecimal;

@Schema(description = "数量校正")
@Data
public class MedicineStockAdjustInput  {

    @Schema(description = "药品库存主键ID")
    private Long id;

    @Schema(description = "校正数量")
    @NotNull(message = "校正数量不能为空")
    @Digits(integer = 13, fraction = 4, message = "校正数量格式无效")
    @Positive(message = "校正数量必须大于0")
    private BigDecimal number;

    @Schema(description = "校正类型")
    private Integer adjustType;

}